package com.jic.member.service;

import java.lang.Long;
import java.util.List;

import com.jic.member.entity.MememberGrowthOrderRecharge;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.Page;
import com.jic.member.request.MemberGrowthRuleRequest;
import com.jic.member.response.MemberGrowthOrderResponse;
import com.jic.common.base.vo.RestResult;
import org.springframework.web.bind.annotation.RequestBody;

/**
* 会员等级管理-成长值规则-下单-充值赠送表
* @author : 
* @email : 
* @since : 2020-04-10 06:31:28
* @version : v1.0.0
*/
public interface MememberGrowthOrderRechargeService {

    long insert(MememberGrowthOrderRecharge mememberGrowthOrderRecharge);

    long delete(Long id);

    long update(MememberGrowthOrderRecharge mememberGrowthOrderRecharge);

    MemberGrowthOrderResponse queryByPrimaryKey(Long id);

    List<MememberGrowthOrderRecharge> query(MememberGrowthOrderRecharge mememberGrowthOrderRecharge);

    PageResult<MememberGrowthOrderRecharge> queryPage(MememberGrowthOrderRecharge mememberGrowthOrderRecharge, Page pageQuery);

    //根据成长值id查询下单，充值成长值规则
    RestResult<MemberGrowthOrderResponse> getRrowthOrderRuleById ( MemberGrowthRuleRequest request);

    MemberGrowthOrderResponse queryOrderId(Long id);

}